package com.lu.pojo.oop.animal;

public class Rabbit extends Animal {

    public Rabbit(String name, String color, String category) {
        super(name, color, category);
    }

    @Override
    public String eat() {
        return "兔子是"+this.getCategory()+"爱吃胡萝卜";
    }

    @Override
    public String yell() {
        return "兔子正在叽叽的叫。";
    }
}
